﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using HZ.Supervise.DAL;

namespace HZ.Supervise.BLL
{
   public class BLL_Purchase:IBLL.IBLL_Purchase
    {
        //获取医院处方单
       public DataTable GetProcureCatalogByID(string where, int currentpage, int pagesize, out int totalrecord)
       {
           return DAL_Purchase.GetProcureCatalogByID(where,currentpage,pagesize,out totalrecord);
       }
           /// <summary>
        /// 根据流水号查看医院信息
        /// </summary>
        /// <param name="ProcureCatalogID"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable GetHospitalInfoByProcureCatalogID(string where, int currentpage, int pagesize, out int totalrecord) 
       {
           return DAL_Purchase.GetHospitalInfoByProcureCatalogID(where,currentpage,pagesize,out totalrecord);
       }
        /// <summary>
        /// 查看医生列表
        /// </summary>
        /// <param name="prescripion"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable GetPdoctorNameByPHospitalId(string where, int currentpage, int pagesize, out int totalrecord) 
       {
           return DAL_Purchase.GetPdoctorNameByPHospitalId(where, currentpage, pagesize, out totalrecord);
       }
          /// <summary>
        /// 查看处方单列表
        /// </summary>
        /// <param name="prescripion"></param>
        /// <param name="currentpage"></param>
        /// <param name="pagesize"></param>
        /// <param name="totalrecord"></param>
        /// <returns></returns>
       public DataTable GetPrescriptionNameByPdoctorName(string where, int currentpage, int pagesize, out int totalrecord) 
       {
           return DAL_Purchase.GetPrescriptionNameByPdoctorName(where, currentpage, pagesize, out totalrecord);
       }
    }
}
